const a = async function (...args) {
  const [
    { memory },
    {
      dc: { http },
      xe: { set },
    },
  ] = args.slice(-2);
  const ret = await http.form(
    { url: "/ypxy/noPay/listNameNo", data: { type: "ADMIN" } },
    { withToken: false }
  );
  const list = ret.map((i) => {
    const label = `${i.workNo}-${i.name}`;
    return { ...i, label, value: label, workNo: i.workNo };
  });
  set(memory, "listNameNoListAdmin", list);
  return list;
};
